package com.liangwj.springbootdesignpatterns.createTypePatterns.builder.demo_1.impl;

import com.liangwj.springbootdesignpatterns.createTypePatterns.builder.demo_1.FoodItems;
import com.liangwj.springbootdesignpatterns.createTypePatterns.builder.demo_1.FoodPacking;

import java.math.BigDecimal;

/**
 * <b>Description:</b> 食物条目实现的抽象类--ColdDrink <br/>
 * @author Lingwenjun
 * @date 2019/1/22-15:57
 * @version 1.0
 */
public abstract class ColdDrink implements FoodItems {
    @Override
    public FoodPacking packing() {
        return new Bottle();
    }

    @Override
    public abstract BigDecimal price();
}
